package com.sourceQ.system.vo.tenant;

import com.sourceQ.common.core.annotation.Excel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;
import java.util.Set;

@Schema(description = "管理后台 - 租户套餐 Response VO")
@Data
@Builder
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
public class TenantPackageRespVO {

    @Schema(description = "套餐编号",  example = "1024")
    private Long id;

    @Schema(description = "套餐名",  example = "VIP")
    @Excel(name = "套餐名")
    private String name;

    @Schema(description = "状态，参见 CommonStatusEnum 枚举",  example = "1")
    @Excel(name = "套餐状态")
    private String status;

    /**
     * 套餐可注册账号数量
     */
    @Schema(description = "套餐可注册账号数量",  example = "1")
    @Excel(name = "套餐可注册账号数量",cellType = Excel.ColumnType.NUMERIC)
    private Integer accountCount;

    @Schema(description = "备注", example = "好")
    @Excel(name = "套餐备注")
    private String remark;

    @Schema(description = "关联的角色编号")
    private Set<Long> roleIds;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

}
